import request from '@/util/request'

export function getCarPostion (carid) {

  return request({
    url: `/car/getCarPostion?carid=${carid}`,
    method: 'get',
    params: {}
  })
}

export function updateCarPostion (carid, lon, lat) {

  return request({
    url: `/car/setCarPostion?carid=${carid}&lon=${lon}&lat=${lat}`,
    method: 'get',
    params: {}
  })
}

